<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>title</title>
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet" type="text/css">
</head>
<body>
<form class="layui-form" th:action="@{/user/add}" method="post" lay-filter="example" style="margin-top: 20px">
    <div class="layui-form-item">
        <label class="layui-form-label">ID：</label>
        <div class="layui-input-block">
            <input type="text" name="uid" lay-verify="title" autocomplete="off" placeholder="请输入ID" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">姓名：</label>
        <div class="layui-input-block">
            <input type="text" name="uname" lay-verify="title" autocomplete="off" placeholder="请输入姓名" class="layui-input">
        </div>
    </div><div class="layui-form-item">
    <label class="layui-form-label">年龄：</label>
    <div class="layui-input-block">
        <input type="text" name="uage" lay-verify="title" autocomplete="off" placeholder="请输入年龄" class="layui-input">
    </div>
</div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">添加</button>
        </div>
    </div>
</form>
</body>
</html>